﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using WinFormsUtil;
using OWANotifier.Properties;
using System.Security.Principal;

namespace OWANotifier
{
    static class Program
    {


        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (Settings.Default.IntegratedSecurity)
                Settings.Default.Username = WindowsIdentity.GetCurrent().Name;

            Application.Run(new FormMain(args.Contains("showballoon")));
        }




    }
}
